<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="cfn" uri="http://com.abou/cfn"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/fn"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>

<%-- Creates a product div. Parameters are :
    - productName : the product name
    - productPrice : the product price
    - productImg : the product image
	- productLnk : the link to the product detail page
--%>
<div class="product">
	<a href="${param.productLnk}"><span class="productName"> ${param.productName}</span></a>
	<div class="productImg">
		<a href="${param.productLnk}">
		<img src="${param.productImg}" alt="${productName}" height="250px" width="200px" ALIGN=MIDDLE>
		</a>
	</div>
	<span class="productPrice"> ${param.productPrice} &nbsp; &euro;</span>
</div>